package guice.boot.archive.spi.service;

import guice.boot.archive.exception.ArkRuntimeException;

/**
 * archive service lifecycle, when a service need init/dispose action, it should implement this interface and register by guice
 */
public interface ArchiveService extends PriorityOrdered {

    void init() throws ArkRuntimeException;

    void dispose() throws ArkRuntimeException;

}